package com.example.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.example.entity.AccountDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;

//extends BaseMapper<AccountDO>
//@Resource
@Mapper
public interface AccountMapper extends BaseMapper<AccountDO> {
    int debit(@Param("id") Integer id, @Param("amount") Long amount);
}
